package com.mfangsoft.zhuangjialong.integration.usermanage.model;

import java.io.Serializable;
import java.util.Date;

/**
 * table usermanager_task
 *
 * @MLTH_generated do_not_delete_during_merge
 */
public class UserManagerTask implements Serializable {
    /**
     *   主键id
     * column id
     *
     * @MLTH_generated
     */
    private Long id;

    /**
     *   活动id
     * column activity_id
     *
     * @MLTH_generated
     */
    private Long activity_id;

    /**
     *   1.未开始 2.进行中 3.结束
     * column state
     *
     * @MLTH_generated
     */
    private Integer state;

    /**
     *   活动开始时间
     * column task_starttime
     *
     * @MLTH_generated
     */
    private Date task_starttime;

    /**
     *   活动结束时间
     * column task_endtime
     *
     * @MLTH_generated
     */
    private Date task_endtime;

    /**
     *   完成情况 1.未开始 2.进行中 3.未完成 4.已完成
     * column completion
     *
     * @MLTH_generated
     */
    private Integer completion;

    /**
     *   导购id
     * column user_manager_id
     *
     * @MLTH_generated
     */
    private Long user_manager_id;

    /**
     *   商铺id
     * column shop_id
     *
     * @MLTH_generated
     */
    private Long shop_id;

    /**
     *   活动成单数
     * column activity_num
     *
     * @MLTH_generated
     */
    private Integer activity_num;

    /**
     *   活动邀请客户数
     * column customer_num
     *
     * @MLTH_generated
     */
    private Integer customer_num;

    /**
     *   设置时间
     * column set_time
     *
     * @MLTH_generated
     */
    private Date set_time;

    /**
     *   修改时间
     * column update_time
     *
     * @MLTH_generated
     */
    private Date update_time;

    /**
     *   活动已成单数
     * column invite_activity_num
     *
     * @MLTH_generated
     */
    private Integer invite_activity_num;

    /**
     *   活动已邀请客户数
     * column invite_customer_num
     *
     * @MLTH_generated
     */
    private Integer invite_customer_num;
    
    /**
     * 客户的签到率
     */
    private Double sign_rate;
    
    /**
     * 活动任务id
     */
    private Long activity_task_id;
    
    public Long getActivity_task_id() {
		return activity_task_id;
	}

	public void setActivity_task_id(Long activity_task_id) {
		this.activity_task_id = activity_task_id;
	}

	public Double getSign_rate() {
		return sign_rate;
	}

	public void setSign_rate(Double sign_rate) {
		this.sign_rate = sign_rate;
	}

	/**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table usermanager_task
     *
     * @MLTH_generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *   主键id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getId() {
        return id;
    }

    /**
     *   主键id
     * @param id the value for 
     *
     * @MLTH_generated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     *   活动id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getActivity_id() {
        return activity_id;
    }

    /**
     *   活动id
     * @param activity_id the value for 
     *
     * @MLTH_generated
     */
    public void setActivity_id(Long activity_id) {
        this.activity_id = activity_id;
    }

    /**
     *   1.未开始 2.进行中 3.结束
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getState() {
        return state;
    }

    /**
     *   1.未开始 2.进行中 3.结束
     * @param state the value for 
     *
     * @MLTH_generated
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     *   活动开始时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getTask_starttime() {
        return task_starttime;
    }

    /**
     *   活动开始时间
     * @param task_starttime the value for 
     *
     * @MLTH_generated
     */
    public void setTask_starttime(Date task_starttime) {
        this.task_starttime = task_starttime;
    }

    /**
     *   活动结束时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getTask_endtime() {
        return task_endtime;
    }

    /**
     *   活动结束时间
     * @param task_endtime the value for 
     *
     * @MLTH_generated
     */
    public void setTask_endtime(Date task_endtime) {
        this.task_endtime = task_endtime;
    }

    /**
     *   完成情况 1.未开始 2.进行中 3.未完成 4.已完成
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getCompletion() {
        return completion;
    }

    /**
     *   完成情况 1.未开始 2.进行中 3.未完成 4.已完成
     * @param completion the value for 
     *
     * @MLTH_generated
     */
    public void setCompletion(Integer completion) {
        this.completion = completion;
    }

    /**
     *   导购id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getUser_manager_id() {
        return user_manager_id;
    }

    /**
     *   导购id
     * @param user_manager_id the value for 
     *
     * @MLTH_generated
     */
    public void setUser_manager_id(Long user_manager_id) {
        this.user_manager_id = user_manager_id;
    }

    /**
     *   商铺id
     * @return the value of BIGINT
     *
     * @MLTH_generated
     */
    public Long getShop_id() {
        return shop_id;
    }

    /**
     *   商铺id
     * @param shop_id the value for 
     *
     * @MLTH_generated
     */
    public void setShop_id(Long shop_id) {
        this.shop_id = shop_id;
    }

    /**
     *   活动成单数
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getActivity_num() {
        return activity_num;
    }

    /**
     *   活动成单数
     * @param activity_num the value for 
     *
     * @MLTH_generated
     */
    public void setActivity_num(Integer activity_num) {
        this.activity_num = activity_num;
    }

    /**
     *   活动邀请客户数
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getCustomer_num() {
        return customer_num;
    }

    /**
     *   活动邀请客户数
     * @param customer_num the value for 
     *
     * @MLTH_generated
     */
    public void setCustomer_num(Integer customer_num) {
        this.customer_num = customer_num;
    }

    /**
     *   设置时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getSet_time() {
        return set_time;
    }

    /**
     *   设置时间
     * @param set_time the value for 
     *
     * @MLTH_generated
     */
    public void setSet_time(Date set_time) {
        this.set_time = set_time;
    }

    /**
     *   修改时间
     * @return the value of TIMESTAMP
     *
     * @MLTH_generated
     */
    public Date getUpdate_time() {
        return update_time;
    }

    /**
     *   修改时间
     * @param update_time the value for 
     *
     * @MLTH_generated
     */
    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    /**
     *   活动已成单数
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getInvite_activity_num() {
        return invite_activity_num;
    }

    /**
     *   活动已成单数
     * @param invite_activity_num the value for 
     *
     * @MLTH_generated
     */
    public void setInvite_activity_num(Integer invite_activity_num) {
        this.invite_activity_num = invite_activity_num;
    }

    /**
     *   活动已邀请客户数
     * @return the value of INTEGER
     *
     * @MLTH_generated
     */
    public Integer getInvite_customer_num() {
        return invite_customer_num;
    }

    /**
     *   活动已邀请客户数
     * @param invite_customer_num the value for 
     *
     * @MLTH_generated
     */
    public void setInvite_customer_num(Integer invite_customer_num) {
        this.invite_customer_num = invite_customer_num;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", activity_id=").append(activity_id);
        sb.append(", state=").append(state);
        sb.append(", task_starttime=").append(task_starttime);
        sb.append(", task_endtime=").append(task_endtime);
        sb.append(", completion=").append(completion);
        sb.append(", user_manager_id=").append(user_manager_id);
        sb.append(", shop_id=").append(shop_id);
        sb.append(", activity_num=").append(activity_num);
        sb.append(", customer_num=").append(customer_num);
        sb.append(", set_time=").append(set_time);
        sb.append(", update_time=").append(update_time);
        sb.append(", invite_activity_num=").append(invite_activity_num);
        sb.append(", invite_customer_num=").append(invite_customer_num);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}